package com.hsgene.product.domain;

import java.util.Date;

/**
 * 商品评论回复
 */
public class GeneticCommentReply {
    /**
     * id
     *
     */
    private String id;
    /**
     * 评论id
     */
    private String commentId;
    /**
     * 1为回复评论，2为回复别人的回复
     */
    private Integer replyType;
    /**
     * 回复目标id，reply_type为1时，是comment_id，reply_type为2时为回复表的id
     */
    private String replyId;
    /**
     * 回复目标id
     */
    private String toUserId;
    /**
     * 回复用户id
     */
    private String fromUserId;
    /**
     * 冗余回复者的头像
     */
    private String fromAvatar;
    /**
     * 回复者的昵称
     */
    private String fromNick;
    /**
     * 评论时间
     */
    private Date createDateTime;
    /**
     * 冗余回复对象的昵称
     */
    private String toNick;
    /**
     * 0为普通回复，1为后台管理员回复
     */
    private Integer isAdmin;
    /**
     * 冗余回复者的默认头像
     */
    private String fromDefaultAvatar;

    private Integer deleteFlag;

    private String remarks;
    /**
     * 回复内容
     */
    private String content;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getCommentId() {
        return commentId;
    }

    public void setCommentId(String commentId) {
        this.commentId = commentId == null ? null : commentId.trim();
    }

    public Integer getReplyType() {
        return replyType;
    }

    public void setReplyType(Integer replyType) {
        this.replyType = replyType;
    }

    public String getReplyId() {
        return replyId;
    }

    public void setReplyId(String replyId) {
        this.replyId = replyId == null ? null : replyId.trim();
    }

    public String getToUserId() {
        return toUserId;
    }

    public void setToUserId(String toUserId) {
        this.toUserId = toUserId == null ? null : toUserId.trim();
    }

    public String getFromUserId() {
        return fromUserId;
    }

    public void setFromUserId(String fromUserId) {
        this.fromUserId = fromUserId == null ? null : fromUserId.trim();
    }

    public String getFromAvatar() {
        return fromAvatar;
    }

    public void setFromAvatar(String fromAvatar) {
        this.fromAvatar = fromAvatar == null ? null : fromAvatar.trim();
    }

    public String getFromNick() {
        return fromNick;
    }

    public void setFromNick(String fromNick) {
        this.fromNick = fromNick == null ? null : fromNick.trim();
    }

    public Date getCreateDateTime() {
        return createDateTime;
    }

    public void setCreateDateTime(Date createDateTime) {
        this.createDateTime = createDateTime;
    }

    public String getToNick() {
        return toNick;
    }

    public void setToNick(String toNick) {
        this.toNick = toNick == null ? null : toNick.trim();
    }

    public Integer getIsAdmin() {
        return isAdmin;
    }

    public void setIsAdmin(Integer isAdmin) {
        this.isAdmin = isAdmin;
    }

    public String getFromDefaultAvatar() {
        return fromDefaultAvatar;
    }

    public void setFromDefaultAvatar(String fromDefaultAvatar) {
        this.fromDefaultAvatar = fromDefaultAvatar == null ? null : fromDefaultAvatar.trim();
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}